<?php
echo "<h1>FORM</h1>";

//input 的type可以为   text  password  file   submit reset  checkbox
echo "</br>input type=text:";
echo "<form method='post' action='test.php' name='testform' >";
echo "</br>input_text:<input name='input_text' type='text' value=''></input>";
echo "</br>input_password:<input name='input_password' type='password' value=''></input>";
echo "</br>input_file:<input name='input_file' type='file' value=''></input>";
echo "</br>input_submit:<input name='input_submit' type='submit' value='commit'></input>";
echo "</br>input_reset:<input name='input_reset' type='reset' value='cancel'></input>";
echo "</br>input_checkbox:<input name='input_input_checkbox' type='checkbox' value='apple'>apple</input>";
echo "</br><input name='input_input_checkbox1' type='checkbox' value='game'>game</input>";

echo "</br>input_radio:<input name='input_input_radio' type='radio' value=''>banana</input>";
echo "</br>input_radio2:<input name='input_input_radio' type='radio' value=''>orage</input>";
echo "</br>select :<select name='select_test'><option name='op1' Value=beijing selected>beijing</option><option name='op2' Value=shanghai>shanghai</option >  </select>";
echo "</form>";
?>